import 'package:flutter/widgets.dart';
import 'package:mobile_app.core/core/presentation/localization/translation.dart';
import 'package:mobile_app.core/core/presentation/theme/theme.dart';

class TilePremiumBadge extends StatelessWidget {
  const TilePremiumBadge({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return DecoratedBox(
      decoration: BoxDecoration(
        color: CoreTheme.of(context).primaryColor,
        borderRadius: BorderRadius.circular(2),
      ),
      child: Padding(
        padding: const EdgeInsets.symmetric(
          horizontal: 2,
        ),
        child: Text(
          CoreTranslation.of(context).premiumBadgeTitle,
          style: CoreTheme.of(context).textTheme.tilePremiumBadge,
        ),
      ),
    );
  }
}
